package com.ht.service;


import com.ht.bean.Dep;
import com.ht.bean.Emp;
import com.ht.bean.Feedback;
import com.ht.bean.Post;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface FeedbackService {

   //查询审阅
   public Map allcheck(Integer feedbackId);

   //查询部门表
   List<Dep> alldep(Integer depid, String depName);

   //查询表
   public List<Map> alllist(Integer startIndex,Integer pageSize,Feedback fk);

   //查询总页数
   public int countfk(Feedback fk);

   //新增
   boolean addfk(Feedback feedback);

   //查询职务
   public List<Post> postlist();

   //审批
   boolean sp(Feedback feedback);
   //查ID
   List<Feedback> fkid(@Param("feedbackId") Integer feedbackId);
}
